package com.note.dao;

import com.note.entity.NoteContent;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface NoteContentMapper {
    int deleteByPrimaryKey(Integer ncid);

    int insert(NoteContent record);

    int insertSelective(NoteContent record);

    NoteContent selectByPrimaryKey(Integer ncid);

    int updateByPrimaryKeySelective(NoteContent record);

    int updateByPrimaryKeyWithBLOBs(NoteContent record);

    int updateByPrimaryKey(NoteContent record);
	
	NoteContent findNoteIdByTitle(String title);

    List<NoteContent>  selectByTime(@Param("time") String time, @Param("userAccount")String userAccount);
}